package day10;

public class UserImpl implements User{

    @Override
    public void login() {
        System.out.println("模拟登陆");
        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("登陆成功");
    }
}
